dsh-pref-kit: Merging Adjacent Text Increments at the Source of DSH Streaming Output

`dsh-pref-kit` is a DSH performance optimization plugin designed to address high resource consumption and stuttering caused by the massive number of small events generated by streaming output under long conversations and multi-agent concurrency. The plugin merges adjacent `text`/`reasoning` increments within the same text block at the data stream source before writing them to logs and pushing, thereby significantly reducing the volume of session events while remaining fully compatible with existing interfaces and protocols without altering the underlying structure. Core features include streaming merging enabled by default (controlled by the `windowMs` parameter, default 30ms), as well as a configurable "full passthrough" mode (when `windowMs = 0`, it passes through token-by-token to ensure minimal latency). Additionally, the plugin provides a settings card for users to adjust configurations in real time, and includes several experimental features disabled by default, such as replacing the trace view.

Read More
Install a RN Performance Optimization Manual for AI Assistant with react-native-best-practices

Callstack split the RN performance e-book into Agent Skill react-native-best-practices, which covers FPS, TTI, package volume, memory and native modules. This article is verified against the official SKILL.md and the repository README: 29 references cover how to triage, how to install the skills CLI, as well as list virtualization, React DevTools measurement and the usage of Android R8. The core is to measure before making changes.

Read More